package com.leisai.manager.dao;

import com.leisai.manager.dto.TempDTO;
import com.leisai.manager.pojo.Temp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mapper.MyMapper;

import java.util.List;

@Repository
public interface TempMapper extends MyMapper<Temp> {

    int updateTemp(Temp temp);

    List<TempDTO> getTempListByPId(@Param("temp_id") String temp_id);

    List<TempDTO> getTempList();

    Integer getMaxSort();

    int setStatus(Temp temp);

    int insertTemp(Temp temp);
}
